package cn.wolfcode.crm.query;

import cn.wolfcode.crm.domain.Guaranteebill;
import com.alibaba.druid.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class HistoryQueryObject extends QueryObject {
    int audit = Guaranteebill.AUTIDSUCCESS_STATE;
    int bill = Guaranteebill.BILL_STATE;
    private String applicant;
    private String number;
    public String getApplicant(){
        return StringUtils.isEmpty(applicant) ? null : applicant;
    }
    public String getNumber(){
        return StringUtils.isEmpty(number) ? null : number;
    }
}
